﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.RegularExpressions;

namespace ProjectHopur23.Models
{
	public class ActiveGame
	{
		#region Properties
		public int ID { get; set; }
		public int gameId { get; set; }
		[RegularExpression("^[^<>()]{1,20}")]
		public string name { get; set; }
		public bool isFull { get; set; }
		public int numberOfPlayers { get; set; }
		public int activePlayerId { get; set; }
		public bool isFinished { get; set; }
		public bool isOpen { get; set; }
		#endregion
	}
}
